package com.kairos.utils
{
	import flexunit.framework.TestCase;
	import com.kairos.engine.MockRTBeacon;

	public class ClockTest extends TestCase
	{
		private var _oB : MockRTBeacon;
		private var _c : Clock;
		
		public override function setUp():void
		{
			_c = new Clock();
			_oB = MockRTBeacon.getInstance();
			_oB.setStep( 25 );	
		}
		
		public function testConstruct() : void
		{
			assertNotNull ( "Clock constructor returns null", _c );
			
			var c1 : Clock = new Clock( 10 );
			assertNotNull ( "Clock constructor returns null with a parameter", c1 );
			
			var c2 : Clock = new Clock( NaN );
			assertNotNull ( "Clock constructor failed with an invalid parameter", c2 );
		}
		/*
		public function testRun () : void {}
		public function testAsyncBehavior() : void {}
		public function testDateConversion () : void {}
		public function testRemain () : void {}
		*/
	}
}